/** 是否安装微博客户端 **/
function checkWeiboClient() {
        sharesdk.isInstallClient.promise(ShareSDK.ClientType.SinaWeibo).then(function(isInstall){
            if(isInstall) {
                alert("新浪微博客户端已安装");
            }else {
                alert("未安装新浪微博客户端");
            }
        });
    }
     
    /** 是否安装QQ客户端 **/
    function checkQQClient() {
        sharesdk.isInstallClient.promise(ShareSDK.ClientType.QQ).then(function(isInstall){
            if(isInstall) {
                alert("QQ客户端已安装");
            }else {
                alert("未安装QQ客户端");
            }
        });
    }
     
    /** 是否安装微信客户端 **/
    function checkWechatClient() {
        sharesdk.isInstallClient.promise(ShareSDK.ClientType.Wechat).then(function(isInstall){
            if(isInstall) {
                alert("微信客户端已安装");
            }else {
                alert("未安装微信客户端");
            }
        });
    }